20250802_031001.174 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250802_031001.175 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.175 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250802_031001.175 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.176 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.176 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policies_event": {}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.176 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.182 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.183 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.183 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.184 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiNDYxMGM5ZGEtMzYzMi00Yjg1LTliODgtZmEzNmRlZjE3ZTg0IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjE4M1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDM6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.184 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "4610c9da-3632-4b85-9b88-fa36def17e84", "timestamp": "2025-08-02T03:10:01.183Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.184 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "4610c9da-3632-4b85-9b88-fa36def17e84", "timestamp": "2025-08-02T03:10:01.183Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250802_031001.185 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250802_031001.185 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}] 20250802_031001.185 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250802_031001.185 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "4610c9da-3632-4b85-9b88-fa36def17e84", "timestamp": "2025-08-02T03:10:01.183Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.186 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250802_031001.186 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}} 20250802_031001.186 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiNzRhZGRmMGYtYjUyNC00ZjEzLTg4ODQtNDQwN2RkODQ1YjAzIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjE4NloiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDM6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.187 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.187 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "74addf0f-b524-4f13-8884-4407dd845b03", "timestamp": "2025-08-02T03:10:01.186Z", "action": "updated", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.187 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250802_031001.188 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false} 20250802_031001.188 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250802_031001.188 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250802_031001.188 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true} 20250802_031001.188 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250802_031001.189 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true} 20250802_031001.189 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.203 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "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_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.203 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.203 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.204 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "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_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.204 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"} 20250802_031001.204 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250802_031001.204 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.209 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250802_031001.209 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.210 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250802_031001.210 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.210 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.210 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policies_event": {}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.210 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.218 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.219 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.219 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.220 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiZjA5NjMwYmEtZjI5OS00OGQ5LThiYzUtMmRkN2ViOTEzNmVmIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjIxOVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDM6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.220 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "f09630ba-f299-48d9-8bc5-2dd7eb9136ef", "timestamp": "2025-08-02T03:10:01.219Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.220 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "f09630ba-f299-48d9-8bc5-2dd7eb9136ef", "timestamp": "2025-08-02T03:10:01.219Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250802_031001.221 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250802_031001.221 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.221 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3"}, "type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}] 20250802_031001.222 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "f09630ba-f299-48d9-8bc5-2dd7eb9136ef", "timestamp": "2025-08-02T03:10:01.219Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.222 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3"}, "type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["<<>>"] 20250802_031001.222 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}} 20250802_031001.222 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3"}, "type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}], "duplicate": []} 20250802_031001.223 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "f09630ba-f299-48d9-8bc5-2dd7eb9136ef", "timestamp": "2025-08-02T03:10:01.219Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.223 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "f09630ba-f299-48d9-8bc5-2dd7eb9136ef", "timestamp": "2025-08-02T03:10:01.219Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250802_031001.223 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250802_031001.223 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.223 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.239 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "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_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.239 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.239 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.240 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "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_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.240 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"} 20250802_031001.240 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250802_031001.240 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.245 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250802_031001.245 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.245 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.246 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.246 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.246 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.254 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.255 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.255 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.255 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiMTdkNTEzZDUtMGRjYi00NzcwLWI0ZDktZTEyNjc1NjFjYzc2IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjI1NVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDM6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.256 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "17d513d5-0dcb-4770-b4d9-e1267561cc76", "timestamp": "2025-08-02T03:10:01.255Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.256 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "17d513d5-0dcb-4770-b4d9-e1267561cc76", "timestamp": "2025-08-02T03:10:01.255Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250802_031001.256 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250802_031001.256 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": ["damaged config"], "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}] 20250802_031001.257 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250802_031001.257 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "17d513d5-0dcb-4770-b4d9-e1267561cc76", "timestamp": "2025-08-02T03:10:01.255Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.257 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": ["damaged config"], "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"unexpected": "foo", "none": null}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250802_031001.257 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"unexpected": "foo", "none": null}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}} 20250802_031001.258 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiYWQ0MjIxYTEtNWI3Zi00YjJkLWJiZWUtODAxYzc0YmZjZDI3IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjI1OFoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InVuZXhwZWN0ZWQiOiAiZm9vIiwgIm5vbmUiOiBudWxsfSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDM6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.258 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.259 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"unexpected": "foo", "none": null}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": ["damaged config"], "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "ad4221a1-5b7f-4b2d-bbee-801c74bfcd27", "timestamp": "2025-08-02T03:10:01.258Z", "action": "updated", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.259 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250802_031001.259 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"unexpected": "foo", "none": null}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false} 20250802_031001.259 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": ["damaged config"], "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250802_031001.259 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250802_031001.260 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true} 20250802_031001.260 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250802_031001.260 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true} 20250802_031001.260 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.274 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 20250802_031001.275 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.277 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "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_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.277 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250802_031001.278 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "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_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.278 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250802_031001.278 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.283 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.284 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.284 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.284 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiYjY2MWQ5YzktMTg2Ny00M2IzLTlhZjEtNmNjMDE3NDczNDZhIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjI4NFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDM6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.285 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "b661d9c9-1867-43b3-9af1-6cc01747346a", "timestamp": "2025-08-02T03:10:01.284Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.285 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "b661d9c9-1867-43b3-9af1-6cc01747346a", "timestamp": "2025-08-02T03:10:01.284Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250802_031001.285 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250802_031001.285 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.294 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250802_031001.295 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.295 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250802_031001.295 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.295 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.296 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policies_event": {}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.296 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.303 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.304 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.305 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.305 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiZTdiMDc5NGUtNWNiYy00YjdhLTk0OGQtYTBjZDFmMTdiY2ZlIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjMwNVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDM6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.305 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "e7b0794e-5cbc-4b7a-948d-a0cd1f17bcfe", "timestamp": "2025-08-02T03:10:01.305Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.306 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "e7b0794e-5cbc-4b7a-948d-a0cd1f17bcfe", "timestamp": "2025-08-02T03:10:01.305Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250802_031001.306 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250802_031001.306 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "e7b0794e-5cbc-4b7a-948d-a0cd1f17bcfe", "timestamp": "2025-08-02T03:10:01.305Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.306 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250802_031001.308 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250802_031001.308 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiNzhhOGQ2MjEtZTA4ZC00ZDQyLTg5MzktMTQxMzBhOTkxZjk1IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjMwOFoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20250802_031001.309 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.309 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "78a8d621-e08d-4d42-8939-14130a991f95", "timestamp": "2025-08-02T03:10:01.308Z", "action": "updated", "policies_count": 0}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.309 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250802_031001.309 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}] 20250802_031001.309 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250802_031001.310 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "78a8d621-e08d-4d42-8939-14130a991f95", "timestamp": "2025-08-02T03:10:01.308Z", "action": "updated", "policies_count": 0}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.310 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250802_031001.310 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}} 20250802_031001.311 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiYmYxMmM3NDItZWE1YS00OWY2LThhNmItMDA5NTM3OWVhMzZiIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjMxMFoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.311 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.311 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "bf12c742-ea5a-49f6-8a6b-0095379ea36b", "timestamp": "2025-08-02T03:10:01.310Z", "action": "updated", "policies_count": 2}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.312 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250802_031001.312 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false} 20250802_031001.312 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250802_031001.312 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.332 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.333 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.333 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.333 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiZTQwMTIyMDItOTZiMy00NDg4LWEzMmEtM2FiZTdiOWY5ODE5IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjMzM1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDM6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.334 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "e4012202-96b3-4488-a32a-3abe7b9f9819", "timestamp": "2025-08-02T03:10:01.333Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.334 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "e4012202-96b3-4488-a32a-3abe7b9f9819", "timestamp": "2025-08-02T03:10:01.333Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250802_031001.334 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250802_031001.334 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250802_031001.334 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true} 20250802_031001.334 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250802_031001.335 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true} 20250802_031001.335 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250802_031001.335 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true} 20250802_031001.335 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false} 20250802_031001.335 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false} 20250802_031001.335 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.346 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.347 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.347 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.347 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiZGIxMWRkZTUtYTZhYy00ZDIwLWIxMTYtZDkzZmZlY2ZhYzExIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjM0N1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDM6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.348 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "db11dde5-a6ac-4d20-b116-d93ffecfac11", "timestamp": "2025-08-02T03:10:01.347Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.348 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "db11dde5-a6ac-4d20-b116-d93ffecfac11", "timestamp": "2025-08-02T03:10:01.347Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250802_031001.348 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250802_031001.349 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "db11dde5-a6ac-4d20-b116-d93ffecfac11", "timestamp": "2025-08-02T03:10:01.347Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.349 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250802_031001.349 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250802_031001.350 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiMWNmNzk4ZTAtMjg1Yi00NmU3LTgxNDctNTk0YTM2ZDdiMzI2IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjM1MFoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20250802_031001.350 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.350 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "1cf798e0-285b-46e7-8147-594a36d7b326", "timestamp": "2025-08-02T03:10:01.350Z", "action": "updated", "policies_count": 0}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.351 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "1cf798e0-285b-46e7-8147-594a36d7b326", "timestamp": "2025-08-02T03:10:01.350Z", "action": "updated", "policies_count": 0}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.351 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250802_031001.351 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250802_031001.352 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "1cf798e0-285b-46e7-8147-594a36d7b326", "timestamp": "2025-08-02T03:10:01.350Z", "action": "updated", "policies_count": 0}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.352 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20250802_031001.352 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "1cf798e0-285b-46e7-8147-594a36d7b326", "timestamp": "2025-08-02T03:10:01.350Z", "action": "updated", "policies_count": 0}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250802_031001.352 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.352 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.370 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.371 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.372 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.372 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiMDYyZTY0ZWQtNzdlYS00MjM5LThmNTgtMTE3MzI5YmQ1MTMxIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjM3MloiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDM6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.372 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "062e64ed-77ea-4239-8f58-117329bd5131", "timestamp": "2025-08-02T03:10:01.372Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.373 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "062e64ed-77ea-4239-8f58-117329bd5131", "timestamp": "2025-08-02T03:10:01.372Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250802_031001.373 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250802_031001.373 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "062e64ed-77ea-4239-8f58-117329bd5131", "timestamp": "2025-08-02T03:10:01.372Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.374 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250802_031001.374 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250802_031001.374 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiOTkxNmU0OWQtZThmMS00MzFjLWE4ZDQtMjUxYmQ2ODA2ZTU2IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjM3NFoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20250802_031001.375 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.375 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "9916e49d-e8f1-431c-a8d4-251bd6806e56", "timestamp": "2025-08-02T03:10:01.374Z", "action": "updated", "policies_count": 0}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.375 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20250802_031001.375 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "9916e49d-e8f1-431c-a8d4-251bd6806e56", "timestamp": "2025-08-02T03:10:01.374Z", "action": "updated", "policies_count": 0}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250802_031001.376 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.376 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.389 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 20250802_031001.389 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.391 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "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_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.392 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) 20250802_031001.392 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) 20250802_031001.392 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.396 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250802_031001.398 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.398 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250802_031001.398 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.398 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.399 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policies_event": {}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.399 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.406 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.407 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.407 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.408 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiYTBlNmYyOTEtZmY0OC00YjE2LWFiMjgtMjVlMjljZDk5YWE3IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjQwOFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDM6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.408 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "a0e6f291-ff48-4b16-ab28-25e29cd99aa7", "timestamp": "2025-08-02T03:10:01.408Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.409 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "a0e6f291-ff48-4b16-ab28-25e29cd99aa7", "timestamp": "2025-08-02T03:10:01.408Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250802_031001.409 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250802_031001.409 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "a0e6f291-ff48-4b16-ab28-25e29cd99aa7", "timestamp": "2025-08-02T03:10:01.408Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.409 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250802_031001.410 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250802_031001.410 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiZjc4YTI2NDctZmIxMS00ZDViLThjMzktNGVlYTI2ZjE4NDM4IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjQxMFoiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20250802_031001.410 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.411 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "f78a2647-fb11-4d5b-8c39-4eea26f18438", "timestamp": "2025-08-02T03:10:01.410Z", "action": "updated", "policies_count": 0}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.411 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}] 20250802_031001.411 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250802_031001.412 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "policies_event": {"update_id": "f78a2647-fb11-4d5b-8c39-4eea26f18438", "timestamp": "2025-08-02T03:10:01.410Z", "action": "updated", "policies_count": 0}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.412 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250802_031001.412 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}} 20250802_031001.412 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiNTNiNDhlMDgtNTMwMC00OGNhLWFiZTItMjE0ZjZlNGMyNWI1IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjQxMloiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.413 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.413 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "53b48e08-5300-48ca-abe2-214f6e4c25b5", "timestamp": "2025-08-02T03:10:01.412Z", "action": "updated", "policies_count": 2}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.413 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250802_031001.414 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false} 20250802_031001.414 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250802_031001.414 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.433 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.434 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.434 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.434 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiZThiZDNkZmYtYmMzMy00NzZlLTlhNjMtY2U5OThhN2M3YzZhIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjQzNFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDM6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.435 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "e8bd3dff-bc33-476e-9a63-ce998a7c7c6a", "timestamp": "2025-08-02T03:10:01.434Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.435 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "e8bd3dff-bc33-476e-9a63-ce998a7c7c6a", "timestamp": "2025-08-02T03:10:01.434Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250802_031001.435 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250802_031001.435 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}] 20250802_031001.435 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250802_031001.436 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "e8bd3dff-bc33-476e-9a63-ce998a7c7c6a", "timestamp": "2025-08-02T03:10:01.434Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.436 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250802_031001.436 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}} 20250802_031001.437 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiY2U5YTcyOWUtOWY2ZC00MWFlLWEwNGUtMDgxMmQ2ZGUxMzUxIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjQzNloiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDM6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.437 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.438 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "ce9a729e-9f6d-41ae-a04e-0812d6de1351", "timestamp": "2025-08-02T03:10:01.436Z", "action": "updated", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.438 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250802_031001.438 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false} 20250802_031001.438 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250802_031001.438 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250802_031001.438 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true} 20250802_031001.439 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250802_031001.439 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true} 20250802_031001.439 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.453 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "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_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.454 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) 20250802_031001.454 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) 20250802_031001.454 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.458 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.459 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.460 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.460 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiODc0ZWEyYzEtZWUzNi00ZmM4LWI3MWMtNDM2MzM3MWZmODg5IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjQ2MFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDM6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.460 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "874ea2c1-ee36-4fc8-b71c-4363371ff889", "timestamp": "2025-08-02T03:10:01.460Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.461 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "874ea2c1-ee36-4fc8-b71c-4363371ff889", "timestamp": "2025-08-02T03:10:01.460Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250802_031001.461 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250802_031001.461 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "874ea2c1-ee36-4fc8-b71c-4363371ff889", "timestamp": "2025-08-02T03:10:01.460Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.462 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20250802_031001.462 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.462 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.462 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "874ea2c1-ee36-4fc8-b71c-4363371ff889", "timestamp": "2025-08-02T03:10:01.460Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.462 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.477 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.478 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.478 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.479 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiMDFlMTdkMjEtMzkzNS00YzliLTgzYWQtYTMxN2U3N2ZiOWYwIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjQ3OFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDM6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.479 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "01e17d21-3935-4c9b-83ad-a317e77fb9f0", "timestamp": "2025-08-02T03:10:01.478Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.479 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "01e17d21-3935-4c9b-83ad-a317e77fb9f0", "timestamp": "2025-08-02T03:10:01.478Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250802_031001.480 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250802_031001.480 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "01e17d21-3935-4c9b-83ad-a317e77fb9f0", "timestamp": "2025-08-02T03:10:01.478Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.480 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20250802_031001.480 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.481 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.481 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "01e17d21-3935-4c9b-83ad-a317e77fb9f0", "timestamp": "2025-08-02T03:10:01.478Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.481 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.495 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250802_031001.496 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.496 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250802_031001.496 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.496 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.497 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policies_event": {}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.497 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_031001.506 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "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_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.508 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_031001.509 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.509 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiMTU3OTllMjQtYzhkZS00MzVmLThkNzEtNzg5YjFmNDVlMDljIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjUwOVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDM6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.510 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "15799e24-c8de-435f-8d71-789b1f45e09c", "timestamp": "2025-08-02T03:10:01.509Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.510 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "15799e24-c8de-435f-8d71-789b1f45e09c", "timestamp": "2025-08-02T03:10:01.509Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20250802_031001.510 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}} 20250802_031001.511 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}] 20250802_031001.511 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250802_031001.511 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}}, "policy_persistent": true}}, "policies_event": {"update_id": "15799e24-c8de-435f-8d71-789b1f45e09c", "timestamp": "2025-08-02T03:10:01.509Z", "action": "gathered", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.512 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250802_031001.512 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}} 20250802_031001.512 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJ1cGRhdGVfaWQiOiAiYjhmNWQ5ZGEtZWE1Ny00YzI3LWJjMTQtNmI2NjcyN2FjNzY2IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA4LTAyVDAzOjEwOjAxLjUxMloiLCAiYWN0aW9uIjogInVwZGF0ZWQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDY6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41In19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDM6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDQ6MTA6MDEuMTUxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250802_031001.513 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"} 20250802_031001.514 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_id": null, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T05:10:01.151Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T07:10:01.151Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T03:10:01.151Z", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true}}, "policies_event": {"update_id": "b8f5d9da-ea57-4c27-bc14-6b66727ac766", "timestamp": "2025-08-02T03:10:01.512Z", "action": "updated", "policies_count": 4}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "type": "node-instance", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_version": null}, "task_name": null, "workflow_id": null, "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}} 20250802_031001.514 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250802_031001.514 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false} 20250802_031001.514 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T04:10:01.151Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250802_031001.515 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250802_031001.515 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}}, "policy_persistent": true} 20250802_031001.515 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T03:10:01.151Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true} 20250802_031001.515 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-08-02T06:10:01.151Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}}, "policy_persistent": true} 20250802_031001.516 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear