20250705_030959.459 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250705_030959.459 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.460 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250705_030959.460 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.460 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.460 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {}}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.460 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.466 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250705_030959.466 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.467 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.467 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.467 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.467 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.474 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_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": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.474 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.475 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.475 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_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": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.475 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20250705_030959.475 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250705_030959.475 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.480 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250705_030959.480 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.481 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250705_030959.481 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.481 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.481 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {}}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.481 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.490 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.491 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.492 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.492 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS40OTJaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMjJmYTRiOWEtMjc3Mi00MGY4LWI3ZmEtOGY0M2QxZTcyN2YwIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA2OjA5OjU5LjQzNloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDY6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDQ6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_030959.492 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.492Z", "action": "gathered", "update_id": "22fa4b9a-2772-40f8-b7fa-8f43d1e727f0", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.493 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.492Z", "action": "gathered", "update_id": "22fa4b9a-2772-40f8-b7fa-8f43d1e727f0", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20250705_030959.493 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}} 20250705_030959.493 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.493 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}} 20250705_030959.493 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.493 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}} 20250705_030959.494 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.494 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}} 20250705_030959.494 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.494 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}} 20250705_030959.494 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.504 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_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": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.504 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) 20250705_030959.505 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) 20250705_030959.505 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.509 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250705_030959.509 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.509 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250705_030959.509 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.510 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.510 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {}}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.510 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.518 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.519 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.519 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.519 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS41MTlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiODgxNTc5YTktMWJkZi00NTE2LTg2MWItOTZiZDFiMmYyYzdiIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA2OjA5OjU5LjQzNloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDY6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDQ6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_030959.520 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.519Z", "action": "gathered", "update_id": "881579a9-1bdf-4516-861b-96bd1b2f2c7b", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.520 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.519Z", "action": "gathered", "update_id": "881579a9-1bdf-4516-861b-96bd1b2f2c7b", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20250705_030959.520 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}} 20250705_030959.520 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.530 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.531 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.531 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.531 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS41MzFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMmM4MDU2OTYtMzExYy00NGViLTkwM2ItZTY1MmQzZDU0MGIzIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA2OjA5OjU5LjQzNloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDY6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDQ6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_030959.532 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.531Z", "action": "gathered", "update_id": "2c805696-311c-44eb-903b-e652d3d540b3", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.532 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.531Z", "action": "gathered", "update_id": "2c805696-311c-44eb-903b-e652d3d540b3", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20250705_030959.532 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}} 20250705_030959.532 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.531Z", "action": "gathered", "update_id": "2c805696-311c-44eb-903b-e652d3d540b3", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.533 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach"] 20250705_030959.533 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250705_030959.533 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS41MzNaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI0YmM2YWRhZi0wMDMyLTQ0YTctYjA5Mi00OTNlM2FmZjdhNDEiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event"}}] 20250705_030959.534 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.534 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.533Z", "action": "updated", "update_id": "4bc6adaf-0032-44a7-b092-493e3aff7a41", "policies_count": 0}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.534 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_both', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_peach'] 20250705_030959.534 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.533Z", "action": "updated", "update_id": "4bc6adaf-0032-44a7-b092-493e3aff7a41", "policies_count": 0}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"} 20250705_030959.535 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.535 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.549 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.550 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.550 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.551 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS41NTFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNWIyZTdhMDAtOWYzZi00ZTAyLThmMmEtMDcwZDQxMzE0NWIxIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA2OjA5OjU5LjQzNloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDY6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDQ6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_030959.551 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.551Z", "action": "gathered", "update_id": "5b2e7a00-9f3f-4e02-8f2a-070d413145b1", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.551 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.551Z", "action": "gathered", "update_id": "5b2e7a00-9f3f-4e02-8f2a-070d413145b1", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20250705_030959.552 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}} 20250705_030959.552 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.552 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}] 20250705_030959.553 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.551Z", "action": "gathered", "update_id": "5b2e7a00-9f3f-4e02-8f2a-070d413145b1", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.553 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["<<>>"] 20250705_030959.553 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20250705_030959.553 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}], "duplicate": [], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}]} 20250705_030959.554 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.551Z", "action": "gathered", "update_id": "5b2e7a00-9f3f-4e02-8f2a-070d413145b1", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.554 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.551Z", "action": "gathered", "update_id": "5b2e7a00-9f3f-4e02-8f2a-070d413145b1", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"} 20250705_030959.554 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}} 20250705_030959.554 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.554 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.570 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_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": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.570 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) 20250705_030959.570 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) 20250705_030959.570 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.573 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_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": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.574 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250705_030959.574 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_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": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.574 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250705_030959.574 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.578 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_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": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.578 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.578 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.579 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_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": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.579 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20250705_030959.579 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250705_030959.579 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.584 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.585 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.585 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.586 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS41ODVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMWU0ODhhMGMtMzc5MC00NGE2LTg1YTAtODdlNTg1YjQwZjA1IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA2OjA5OjU5LjQzNloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDY6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDQ6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_030959.586 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.585Z", "action": "gathered", "update_id": "1e488a0c-3790-44a6-85a0-87e585b40f05", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.586 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.585Z", "action": "gathered", "update_id": "1e488a0c-3790-44a6-85a0-87e585b40f05", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20250705_030959.586 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}} 20250705_030959.587 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}] 20250705_030959.587 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250705_030959.587 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.585Z", "action": "gathered", "update_id": "1e488a0c-3790-44a6-85a0-87e585b40f05", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.587 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"unexpected": "foo", "none": null}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250705_030959.588 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"unexpected": "foo", "none": null}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20250705_030959.588 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS41ODhaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI0MTFiMTYyOS0xMzc4LTQ3MDktODgzMC1hZWY1NzJhN2Y0MjMiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDY6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InVuZXhwZWN0ZWQiOiAiZm9vIiwgIm5vbmUiOiBudWxsfSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250705_030959.588 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.589 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.588Z", "action": "updated", "update_id": "411b1629-1378-4709-8830-aef572a7f423", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"unexpected": "foo", "none": null}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.589 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250705_030959.589 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"unexpected": "foo", "none": null}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.589 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.590 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.590 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}} 20250705_030959.590 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.590 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}} 20250705_030959.590 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.605 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 20250705_030959.605 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.608 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.609 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.610 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.610 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS42MTBaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZjIyMDYyODYtNDZhNC00ZmI0LWE3YzMtYWEyMWI3ZGQ2ZDZlIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA2OjA5OjU5LjQzNloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDY6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDQ6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_030959.610 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.610Z", "action": "gathered", "update_id": "f2206286-46a4-4fb4-a7c3-aa21b7dd6d6e", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.611 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.610Z", "action": "gathered", "update_id": "f2206286-46a4-4fb4-a7c3-aa21b7dd6d6e", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20250705_030959.611 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}} 20250705_030959.611 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.610Z", "action": "gathered", "update_id": "f2206286-46a4-4fb4-a7c3-aa21b7dd6d6e", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.611 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach"] 20250705_030959.612 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250705_030959.612 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS42MTJaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJhMTk5YjQ4YS01ZTI4LTRkMGUtODk3ZS1hYmJiNDFjYzBkZmMiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event"}}] 20250705_030959.613 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.613 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.612Z", "action": "updated", "update_id": "a199b48a-5e28-4d0e-897e-abbb41cc0dfc", "policies_count": 0}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.613 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}] 20250705_030959.613 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250705_030959.614 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.612Z", "action": "updated", "update_id": "a199b48a-5e28-4d0e-897e-abbb41cc0dfc", "policies_count": 0}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.614 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250705_030959.614 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20250705_030959.614 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS42MTRaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIxN2MyMjM1MC03ZjRhLTQxMWYtYWIzNS1iMzMyNTAyMTVjMmIiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwNDowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwNDowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250705_030959.615 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.615 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.614Z", "action": "updated", "update_id": "17c22350-7f4a-411f-ab35-b33250215c2b", "policies_count": 2}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.616 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250705_030959.616 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.616 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.616 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.636 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.637 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.637 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.637 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS42MzdaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMzMxNTIwYTgtOWE3Zi00MTM5LWE5OTEtNGU2ZGUxNzdjNWJkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA2OjA5OjU5LjQzNloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDY6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDQ6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_030959.638 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.637Z", "action": "gathered", "update_id": "331520a8-9a7f-4139-a991-4e6de177c5bd", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.638 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.637Z", "action": "gathered", "update_id": "331520a8-9a7f-4139-a991-4e6de177c5bd", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20250705_030959.638 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}} 20250705_030959.638 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.637Z", "action": "gathered", "update_id": "331520a8-9a7f-4139-a991-4e6de177c5bd", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.639 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach"] 20250705_030959.639 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250705_030959.639 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS42MzlaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI3YWNmYjdjMy1kNjZhLTRiYzEtYTFiOC1mODE5Y2JlMmU3ODQiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event"}}] 20250705_030959.640 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.640 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.639Z", "action": "updated", "update_id": "7acfb7c3-d66a-4bc1-a1b8-f819cbe2e784", "policies_count": 0}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.641 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.639Z", "action": "updated", "update_id": "7acfb7c3-d66a-4bc1-a1b8-f819cbe2e784", "policies_count": 0}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.641 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach"] 20250705_030959.641 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250705_030959.641 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.639Z", "action": "updated", "update_id": "7acfb7c3-d66a-4bc1-a1b8-f819cbe2e784", "policies_count": 0}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.642 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_both', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_peach'] 20250705_030959.642 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.639Z", "action": "updated", "update_id": "7acfb7c3-d66a-4bc1-a1b8-f819cbe2e784", "policies_count": 0}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"} 20250705_030959.642 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.642 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.660 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250705_030959.661 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.661 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250705_030959.661 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.661 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.662 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {}}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.662 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.670 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250705_030959.671 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.671 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250705_030959.671 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.671 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.672 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {}}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.672 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.680 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.681 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.681 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.681 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS42ODFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOWU5NTQ5MTMtNDU2My00OTg3LWFhYTQtMmQ5NTliNDNiZTUxIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA2OjA5OjU5LjQzNloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDY6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDQ6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_030959.682 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.681Z", "action": "gathered", "update_id": "9e954913-4563-4987-aaa4-2d959b43be51", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.682 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.681Z", "action": "gathered", "update_id": "9e954913-4563-4987-aaa4-2d959b43be51", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20250705_030959.682 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}} 20250705_030959.683 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.681Z", "action": "gathered", "update_id": "9e954913-4563-4987-aaa4-2d959b43be51", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.683 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach"] 20250705_030959.683 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250705_030959.683 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS42ODNaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI5M2RlNDI4Yy1kOTgyLTRlNTMtYTNiOS1kZWEyZWNmYjAyZjYiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Key": "unit_test_scn:policies/event"}}] 20250705_030959.684 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.684 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.683Z", "action": "updated", "update_id": "93de428c-d982-4e53-a3b9-dea2ecfb02f6", "policies_count": 0}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.684 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20250705_030959.685 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}] 20250705_030959.685 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250705_030959.685 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.683Z", "action": "updated", "update_id": "93de428c-d982-4e53-a3b9-dea2ecfb02f6", "policies_count": 0}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.685 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250705_030959.685 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20250705_030959.686 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS42ODZaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJiYzNhN2VkYy01MWYzLTRiYjQtYTNiZC0zYzNlYjUyZDU3NGQiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwNDowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwNDowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250705_030959.686 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.687 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.686Z", "action": "updated", "update_id": "bc3a7edc-51f3-4bb4-a3bd-3c3eb52d574d", "policies_count": 2}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.687 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250705_030959.687 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.687 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.687 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.707 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.708 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.708 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.708 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS43MDhaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNmVjZWM1NTktNDkyNi00ODA4LTgwNjUtZTk2NmFhODcyZDAwIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA2OjA5OjU5LjQzNloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDY6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDQ6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_030959.709 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.708Z", "action": "gathered", "update_id": "6ecec559-4926-4808-8065-e966aa872d00", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.709 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.708Z", "action": "gathered", "update_id": "6ecec559-4926-4808-8065-e966aa872d00", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20250705_030959.709 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}} 20250705_030959.710 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.708Z", "action": "gathered", "update_id": "6ecec559-4926-4808-8065-e966aa872d00", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_delete"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.710 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20250705_030959.710 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.710 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.711 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.708Z", "action": "gathered", "update_id": "6ecec559-4926-4808-8065-e966aa872d00", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_delete"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.711 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.726 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.727 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.727 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.727 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS43MjdaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNGFiMDk2ODYtY2VhMy00MWEzLWE4ZTItZTI3NzE5YzYwZDhiIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA2OjA5OjU5LjQzNloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDY6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDQ6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_030959.728 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.727Z", "action": "gathered", "update_id": "4ab09686-cea3-41a3-a8e2-e27719c60d8b", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.728 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.727Z", "action": "gathered", "update_id": "4ab09686-cea3-41a3-a8e2-e27719c60d8b", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20250705_030959.728 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}} 20250705_030959.729 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.727Z", "action": "gathered", "update_id": "4ab09686-cea3-41a3-a8e2-e27719c60d8b", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_delete"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.729 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20250705_030959.729 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.729 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.730 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.727Z", "action": "gathered", "update_id": "4ab09686-cea3-41a3-a8e2-e27719c60d8b", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_delete"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.730 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.744 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.746 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.746 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.746 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS43NDZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiODE5NDM3MzQtNTcyZi00ZjUzLWI0ZmMtMGY5NWI5YTM2ZDkzIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA2OjA5OjU5LjQzNloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDY6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDQ6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_030959.747 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.746Z", "action": "gathered", "update_id": "81943734-572f-4f53-b4fc-0f95b9a36d93", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.747 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.746Z", "action": "gathered", "update_id": "81943734-572f-4f53-b4fc-0f95b9a36d93", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20250705_030959.747 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}} 20250705_030959.747 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}] 20250705_030959.747 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250705_030959.748 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.746Z", "action": "gathered", "update_id": "81943734-572f-4f53-b4fc-0f95b9a36d93", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_not_only_config"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.748 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250705_030959.748 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20250705_030959.749 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS43NDlaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI2MWQ1NGViYy1lNGVkLTQ5YmItOWY2OS0xYjY1ZmJhZDRmM2MiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwNDowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDY6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwNDowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250705_030959.749 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.750 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.749Z", "action": "updated", "update_id": "61d54ebc-e4ed-49bb-9f69-1b65fbad4f3c", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_not_only_config"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.750 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250705_030959.750 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.750 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.750 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.751 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}} 20250705_030959.751 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.751 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}} 20250705_030959.751 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.767 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.768 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.768 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.768 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS43NjhaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYTM2Y2ZjYjYtMmExNy00NjAxLTljMTUtNWJiODQ5OTY0NTJmIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA2OjA5OjU5LjQzNloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDY6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDQ6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_030959.769 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.768Z", "action": "gathered", "update_id": "a36cfcb6-2a17-4601-9c15-5bb84996452f", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.769 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.768Z", "action": "gathered", "update_id": "a36cfcb6-2a17-4601-9c15-5bb84996452f", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20250705_030959.769 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}} 20250705_030959.769 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}] 20250705_030959.769 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250705_030959.770 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.768Z", "action": "gathered", "update_id": "a36cfcb6-2a17-4601-9c15-5bb84996452f", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.770 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250705_030959.770 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20250705_030959.771 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS43NzFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI5ODBiNWQ5Zi03MzUwLTRkYTQtOTdkMy0yN2NkMzY5N2RjNTIiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwNDowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDY6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwNDowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250705_030959.771 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.772 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.771Z", "action": "updated", "update_id": "980b5d9f-7350-4da4-97d3-27cd3697dc52", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.772 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250705_030959.772 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.772 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.772 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.773 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}} 20250705_030959.773 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.773 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}} 20250705_030959.773 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.789 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.790 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_030959.790 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.790 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS43OTBaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYTQyYmRmYTktNTE2Yy00MWQ2LTlmMGQtMGNmNTM5YTBmOTU1IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA2OjA5OjU5LjQzNloiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDY6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDQ6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_030959.791 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.790Z", "action": "gathered", "update_id": "a42bdfa9-516c-41d6-9f0d-0cf539a0f955", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.791 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.790Z", "action": "gathered", "update_id": "a42bdfa9-516c-41d6-9f0d-0cf539a0f955", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20250705_030959.791 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}} 20250705_030959.791 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}] 20250705_030959.792 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250705_030959.792 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.790Z", "action": "gathered", "update_id": "a42bdfa9-516c-41d6-9f0d-0cf539a0f955", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.792 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250705_030959.792 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20250705_030959.793 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS43OTNaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI3ZDliNWI5OS1hYmQxLTRjZDctYWQzYS0xYzM2ZDczYjQ2ZmIiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwNDowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDY6MDk6NTkuNDM2WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwMzowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwNDowOTo1OS40MzZaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250705_030959.793 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20250705_030959.794 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "operation": {"name": null, "retry_number": null, "max_retries": null}, "plugin": {"name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "task_id": null, "type": "node-instance", "node": {"id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-05T05:09:59.436Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, "node": {"id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "node": {"id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-05T07:09:59.436Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyVersion": "5", "type": "JSON", "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": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"]}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-05T03:09:59.793Z", "action": "updated", "update_id": "7d9b5b99-abd1-4cd7-ad3a-1c36d73b46fb", "policies_count": 4}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "workflow_id": null, "task_target": null, "task_name": null} 20250705_030959.794 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250705_030959.794 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.794 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-05T04:09:59.436Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.794 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.795 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}} 20250705_030959.795 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-05T03:09:59.436Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20250705_030959.795 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-05T06:09:59.436Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}} 20250705_030959.795 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_030959.809 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 20250705_030959.810 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear