20251004_031013.970 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251004_031013.971 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031013.971 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251004_031013.971 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031013.971 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031013.972 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031013.972 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031013.977 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031013.977 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) 20251004_031013.977 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) 20251004_031013.977 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031013.982 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031013.983 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031013.983 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031013.984 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45ODNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNjk1YmE1YzgtOGVhOS00OWFhLWJkYjUtZWE0ZjMyZTA1MTE2IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwNDoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251004_031013.984 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:13.983Z", "action": "gathered", "update_id": "695ba5c8-8ea9-49aa-bdb5-ea4f32e05116", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031013.984 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:13.983Z", "action": "gathered", "update_id": "695ba5c8-8ea9-49aa-bdb5-ea4f32e05116", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}} 20251004_031013.985 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20251004_031013.985 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:13.983Z", "action": "gathered", "update_id": "695ba5c8-8ea9-49aa-bdb5-ea4f32e05116", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031013.985 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach"] 20251004_031013.986 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251004_031013.986 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45ODZaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI3NzQxNTE0Yi1iZjdjLTQ4MTAtODgxZC0zODM4OTJlMjVmNTMiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event"}}] 20251004_031013.986 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031013.987 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:13.986Z", "action": "updated", "update_id": "7741514b-bf7c-4810-881d-383892e25f53", "policies_count": 0}, "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}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031013.987 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:13.986Z", "action": "updated", "update_id": "7741514b-bf7c-4810-881d-383892e25f53", "policies_count": 0}, "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}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031013.988 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach"] 20251004_031013.988 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251004_031013.988 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:13.986Z", "action": "updated", "update_id": "7741514b-bf7c-4810-881d-383892e25f53", "policies_count": 0}, "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}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031013.988 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_both', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_peach'] 20251004_031013.989 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:13.986Z", "action": "updated", "update_id": "7741514b-bf7c-4810-881d-383892e25f53", "policies_count": 0}, "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}}} 20251004_031013.989 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031013.989 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.007 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.008 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.009 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.009 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4wMDlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOWY2MDYxOTYtZTc5ZC00N2UwLTk5MTctMDQyN2JiZTAxYmUwIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwNDoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251004_031014.009 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.009Z", "action": "gathered", "update_id": "9f606196-e79d-47e0-9917-0427bbe01be0", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.010 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.009Z", "action": "gathered", "update_id": "9f606196-e79d-47e0-9917-0427bbe01be0", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}} 20251004_031014.010 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20251004_031014.010 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.010 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}}}] 20251004_031014.011 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.009Z", "action": "gathered", "update_id": "9f606196-e79d-47e0-9917-0427bbe01be0", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.011 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyName": "monkeyed.Config_multi_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit"}}}}}}, removed_policies: ["<<>>"] 20251004_031014.011 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}} 20251004_031014.011 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}], "duplicate": [], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}]} 20251004_031014.012 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.009Z", "action": "gathered", "update_id": "9f606196-e79d-47e0-9917-0427bbe01be0", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.012 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.009Z", "action": "gathered", "update_id": "9f606196-e79d-47e0-9917-0427bbe01be0", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}} 20251004_031014.012 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20251004_031014.013 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.013 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.028 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251004_031014.029 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.029 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251004_031014.029 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.029 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.030 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.030 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.038 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.039 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.039 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.040 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4wNDBaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYTMwODM1N2MtY2FhMC00NTAyLWFmNWItZTUxMmY3NTdiMGIyIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwNDoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251004_031014.040 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.040Z", "action": "gathered", "update_id": "a308357c-caa0-4502-af5b-e512f757b0b2", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.040 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.040Z", "action": "gathered", "update_id": "a308357c-caa0-4502-af5b-e512f757b0b2", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}} 20251004_031014.041 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20251004_031014.041 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20251004_031014.041 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20251004_031014.041 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}} 20251004_031014.041 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20251004_031014.041 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}} 20251004_031014.042 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20251004_031014.042 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}} 20251004_031014.042 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20251004_031014.042 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.052 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.053 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.053 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.053 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4wNTNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOTFhNDEzMDQtYzZjNi00MzlmLTk5MzktNzIzMGNkZGU3YjI0IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwNDoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251004_031014.054 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.053Z", "action": "gathered", "update_id": "91a41304-c6c6-439f-9939-7230cdde7b24", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.054 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.053Z", "action": "gathered", "update_id": "91a41304-c6c6-439f-9939-7230cdde7b24", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}} 20251004_031014.054 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20251004_031014.055 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.053Z", "action": "gathered", "update_id": "91a41304-c6c6-439f-9939-7230cdde7b24", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.055 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach"] 20251004_031014.056 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251004_031014.056 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4wNTZaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJlNWNhNmYxYy0zYmMzLTQ3Y2UtOTNhMS1mYjVlNTk3YWNkMzQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event"}}] 20251004_031014.056 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.057 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.056Z", "action": "updated", "update_id": "e5ca6f1c-3bc3-47ce-93a1-fb5e597acd34", "policies_count": 0}, "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}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.057 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}} 20251004_031014.057 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}] 20251004_031014.057 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251004_031014.058 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.056Z", "action": "updated", "update_id": "e5ca6f1c-3bc3-47ce-93a1-fb5e597acd34", "policies_count": 0}, "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}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.058 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251004_031014.058 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}} 20251004_031014.058 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4wNThaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJhOTdhODM1My0wZTlmLTRiMTYtYjNmMi1jMTcyNzAyNGRlMWIiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA0OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA0OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20251004_031014.059 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.059 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.058Z", "action": "updated", "update_id": "a97a8353-0e9f-4b16-b3f2-c1727024de1b", "policies_count": 2}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.059 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251004_031014.059 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}} 20251004_031014.060 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}} 20251004_031014.060 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.079 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.080 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.080 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.080 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4wODBaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiN2MzOWQ3OWQtMjI0ZC00NWMxLTg3NjMtOWU4YjA4N2I2NWU4IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwNDoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251004_031014.081 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.080Z", "action": "gathered", "update_id": "7c39d79d-224d-45c1-8763-9e8b087b65e8", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.081 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.080Z", "action": "gathered", "update_id": "7c39d79d-224d-45c1-8763-9e8b087b65e8", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}} 20251004_031014.081 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20251004_031014.081 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.091 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251004_031014.091 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.091 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251004_031014.091 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.092 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.092 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.092 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.099 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.099 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.099 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.099 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.099 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20251004_031014.100 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20251004_031014.100 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.105 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.105 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.106 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.106 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4xMDZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMTBhMmY1MDctODY0Yy00NTNjLWIwZWEtY2IyNzgyYTIxZjQzIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwNDoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251004_031014.107 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.106Z", "action": "gathered", "update_id": "10a2f507-864c-453c-b0ea-cb2782a21f43", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.107 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.106Z", "action": "gathered", "update_id": "10a2f507-864c-453c-b0ea-cb2782a21f43", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}} 20251004_031014.107 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20251004_031014.107 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}] 20251004_031014.107 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251004_031014.108 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.106Z", "action": "gathered", "update_id": "10a2f507-864c-453c-b0ea-cb2782a21f43", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.108 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251004_031014.108 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}} 20251004_031014.109 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4xMDhaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIxMjViOGFjMS05MWRhLTQ0OTctYjU0Ny1iNjFkOGFlNWVlODciLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA0OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA0OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20251004_031014.109 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.110 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.108Z", "action": "updated", "update_id": "125b8ac1-91da-4497-b547-b61d8ae5ee87", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.110 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251004_031014.110 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}} 20251004_031014.110 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}} 20251004_031014.110 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20251004_031014.110 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20251004_031014.111 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20251004_031014.111 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20251004_031014.111 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.126 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.127 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.127 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.127 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4xMjdaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYTYyYzhlNzEtYjA1OC00YTg4LTlkNzctNmI1NWY3N2FiNThlIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwNDoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251004_031014.128 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.127Z", "action": "gathered", "update_id": "a62c8e71-b058-4a88-9d77-6b55f77ab58e", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.128 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.127Z", "action": "gathered", "update_id": "a62c8e71-b058-4a88-9d77-6b55f77ab58e", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}} 20251004_031014.128 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20251004_031014.129 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.127Z", "action": "gathered", "update_id": "a62c8e71-b058-4a88-9d77-6b55f77ab58e", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.129 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20251004_031014.129 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.129 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.130 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.127Z", "action": "gathered", "update_id": "a62c8e71-b058-4a88-9d77-6b55f77ab58e", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.130 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.145 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.146 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.146 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.147 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4xNDZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNWY2NjU1YTctNzYxZi00OGRkLTkyNGItYjMzMzQzOGM0YTczIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwNDoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251004_031014.147 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.146Z", "action": "gathered", "update_id": "5f6655a7-761f-48dd-924b-b333438c4a73", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.147 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.146Z", "action": "gathered", "update_id": "5f6655a7-761f-48dd-924b-b333438c4a73", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}} 20251004_031014.147 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20251004_031014.148 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}] 20251004_031014.148 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20251004_031014.148 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.146Z", "action": "gathered", "update_id": "5f6655a7-761f-48dd-924b-b333438c4a73", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.148 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251004_031014.149 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}} 20251004_031014.149 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4xNDlaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJmZmY0ZTcxMi04OWMyLTRkZTUtOTQ1MS1lNGI1MDI0NjQ3YjQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA0OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA0OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20251004_031014.150 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.150 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.149Z", "action": "updated", "update_id": "fff4e712-89c2-4de5-9451-e4b5024647b4", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.150 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20251004_031014.150 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}} 20251004_031014.151 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}} 20251004_031014.151 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20251004_031014.151 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20251004_031014.151 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20251004_031014.151 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20251004_031014.151 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.166 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 20251004_031014.166 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.170 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.171 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.171 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.171 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4xNzFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYmM4OWQ5ZGEtN2IyMy00NWZlLWJhYmQtYTJjNjI2MmVmZDE1IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwNDoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251004_031014.172 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.171Z", "action": "gathered", "update_id": "bc89d9da-7b23-45fe-babd-a2c6262efd15", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.172 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.171Z", "action": "gathered", "update_id": "bc89d9da-7b23-45fe-babd-a2c6262efd15", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}} 20251004_031014.172 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20251004_031014.173 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.171Z", "action": "gathered", "update_id": "bc89d9da-7b23-45fe-babd-a2c6262efd15", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.173 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach"] 20251004_031014.173 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251004_031014.173 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4xNzNaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI1N2MwMmY0My0xYmRmLTQ4ODctYTFlZi1lMzAwNGQwMmVkZGIiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event"}}] 20251004_031014.174 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.174 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.173Z", "action": "updated", "update_id": "57c02f43-1bdf-4887-a1ef-e3004d02eddb", "policies_count": 0}, "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}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.175 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}] 20251004_031014.175 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20251004_031014.175 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.173Z", "action": "updated", "update_id": "57c02f43-1bdf-4887-a1ef-e3004d02eddb", "policies_count": 0}, "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}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.175 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251004_031014.175 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}} 20251004_031014.176 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4xNzZaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIxY2JmNTI3OS00OTcwLTQyYzgtYTgxNS1hMjgyMzc2MjM3M2EiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA0OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA0OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20251004_031014.176 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.177 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.176Z", "action": "updated", "update_id": "1cbf5279-4970-42c8-a815-a2823762373a", "policies_count": 2}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.177 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20251004_031014.177 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}} 20251004_031014.177 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}} 20251004_031014.177 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.197 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251004_031014.197 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.197 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251004_031014.198 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.198 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.198 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.198 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.207 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20251004_031014.208 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.208 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20251004_031014.208 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.208 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.208 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.209 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.216 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.217 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.217 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.218 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4yMThaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNWJkOWRiYWYtMzk2MC00Mjk5LTg3M2QtZjUyZjQyYWQ3ODQ4IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwNDoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251004_031014.218 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.218Z", "action": "gathered", "update_id": "5bd9dbaf-3960-4299-873d-f52f42ad7848", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.219 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.218Z", "action": "gathered", "update_id": "5bd9dbaf-3960-4299-873d-f52f42ad7848", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}} 20251004_031014.219 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20251004_031014.219 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": ["damaged config"]}}] 20251004_031014.219 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251004_031014.219 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.218Z", "action": "gathered", "update_id": "5bd9dbaf-3960-4299-873d-f52f42ad7848", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.220 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": ["damaged config"]}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"unexpected": "foo", "none": null}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251004_031014.220 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"unexpected": "foo", "none": null}}}} 20251004_031014.220 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4yMjBaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJmMTg1MTNlNi1mMDRkLTRkZmYtYmE5NC00MjIxYjM3N2RmYzkiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsidW5leHBlY3RlZCI6ICJmb28iLCAibm9uZSI6IG51bGx9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20251004_031014.221 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.221 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.220Z", "action": "updated", "update_id": "f18513e6-f04d-4dff-ba94-4221b377dfc9", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"unexpected": "foo", "none": null}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": ["damaged config"]}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.222 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251004_031014.222 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"unexpected": "foo", "none": null}}} 20251004_031014.222 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": ["damaged config"]}} 20251004_031014.222 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20251004_031014.222 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20251004_031014.222 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20251004_031014.223 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20251004_031014.223 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.238 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.239 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.239 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.239 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4yMzlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiODU0MjBkMzctZTQ2My00Mzg0LTljZWYtM2VhOTYzZTc1MDU1IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwNDoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251004_031014.240 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.239Z", "action": "gathered", "update_id": "85420d37-e463-4384-9cef-3ea963e75055", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.240 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.239Z", "action": "gathered", "update_id": "85420d37-e463-4384-9cef-3ea963e75055", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}} 20251004_031014.240 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20251004_031014.241 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.239Z", "action": "gathered", "update_id": "85420d37-e463-4384-9cef-3ea963e75055", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.241 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20251004_031014.241 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.241 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.242 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.239Z", "action": "gathered", "update_id": "85420d37-e463-4384-9cef-3ea963e75055", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.242 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.257 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.259 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.259 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.259 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4yNTlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiY2YzZjIyZDUtOTk2OC00YTRkLTg4NmEtYTRjNjMzYTcyNzgzIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwNDoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251004_031014.260 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.259Z", "action": "gathered", "update_id": "cf3f22d5-9968-4a4d-886a-a4c633a72783", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.260 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.259Z", "action": "gathered", "update_id": "cf3f22d5-9968-4a4d-886a-a4c633a72783", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}} 20251004_031014.260 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20251004_031014.260 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.259Z", "action": "gathered", "update_id": "cf3f22d5-9968-4a4d-886a-a4c633a72783", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.261 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach"] 20251004_031014.261 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251004_031014.261 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4yNjFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJlYzBkNDA5OC0zNGQ1LTQwYTAtODA2OS1hYzVmYjE3M2VmY2UiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event"}}] 20251004_031014.262 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.262 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.261Z", "action": "updated", "update_id": "ec0d4098-34d5-40a0-8069-ac5fb173efce", "policies_count": 0}, "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}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.262 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_both', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_peach'] 20251004_031014.263 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.261Z", "action": "updated", "update_id": "ec0d4098-34d5-40a0-8069-ac5fb173efce", "policies_count": 0}, "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}}} 20251004_031014.263 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.263 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.278 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.278 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20251004_031014.278 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.278 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20251004_031014.278 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.284 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20251004_031014.284 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.284 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.285 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.285 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.285 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.292 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.292 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.292 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.293 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.293 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20251004_031014.293 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20251004_031014.293 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.297 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 20251004_031014.297 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.301 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.302 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251004_031014.302 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.303 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4zMDNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZmZjY2NmMDQtOWRjYy00MjRjLWExMDgtNGI0MmUwMzhmYmRlIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwNDoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251004_031014.303 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.303Z", "action": "gathered", "update_id": "ffcccf04-9dcc-424c-a108-4b42e038fbde", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.304 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.303Z", "action": "gathered", "update_id": "ffcccf04-9dcc-424c-a108-4b42e038fbde", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}} 20251004_031014.304 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20251004_031014.304 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}] 20251004_031014.304 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20251004_031014.305 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.303Z", "action": "gathered", "update_id": "ffcccf04-9dcc-424c-a108-4b42e038fbde", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.305 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251004_031014.305 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}} 20251004_031014.305 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0wNFQwMzoxMDoxNC4zMDVaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJjMWIxY2EwYS1kNTRkLTQ4YmEtYWE0YS0zNjMyZmE1ZTc3MjkiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA0OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA0OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTA0VDA2OjEwOjEzLjk0N1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0wNFQwMzoxMDoxMy45NDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20251004_031014.306 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"} 20251004_031014.306 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-04T07:10:13.947Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-10-04T03:10:14.305Z", "action": "updated", "update_id": "c1b1ca0a-d54d-48ba-aa4a-3632fa5e7729", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.307 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20251004_031014.307 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}} 20251004_031014.307 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-04T04:10:13.947Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}} 20251004_031014.307 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20251004_031014.307 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20251004_031014.308 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20251004_031014.308 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-04T06:10:13.947Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20251004_031014.308 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251004_031014.323 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "plugin": {"name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null, "package_name": null}, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-04T03:10:13.947Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-04T05:10:13.947Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id"} 20251004_031014.323 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) 20251004_031014.323 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) 20251004_031014.323 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear