20250621_070500.016 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250621_070500.017 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.017 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250621_070500.017 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.018 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.018 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.018 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.024 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.025 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.025 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.026 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZmM0OTQ3OTUtYTFhNC00MDA4LTg4MDktYmRhNmQ0MWIwMDljIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yMVQwNzowNTowMC4wMjVaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA3OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA4OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250621_070500.026 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "fc494795-a1a4-4008-8809-bda6d41b009c", "action": "gathered", "timestamp": "2025-06-21T07:05:00.025Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.026 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "fc494795-a1a4-4008-8809-bda6d41b009c", "action": "gathered", "timestamp": "2025-06-21T07:05:00.025Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20250621_070500.026 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}} 20250621_070500.027 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}] 20250621_070500.027 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250621_070500.027 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "fc494795-a1a4-4008-8809-bda6d41b009c", "action": "gathered", "timestamp": "2025-06-21T07:05:00.025Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.027 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250621_070500.028 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}} 20250621_070500.028 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNGMzZTE4MjQtMDU0OC00MGRjLTg2ZjgtZDRiZGVmMTZiZWZhIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTIxVDA3OjA1OjAwLjAyOFoiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA3OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yMVQwODowNDo1OS45OTRaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yMVQwODowNDo1OS45OTRaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250621_070500.029 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20250621_070500.029 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "4c3e1824-0548-40dc-86f8-d4bdef16befa", "action": "updated", "timestamp": "2025-06-21T07:05:00.028Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.029 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250621_070500.029 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false} 20250621_070500.030 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true} 20250621_070500.030 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "policy_persistent": true} 20250621_070500.030 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true} 20250621_070500.030 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "policy_persistent": true} 20250621_070500.030 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true} 20250621_070500.030 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.046 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.047 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.047 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.047 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZjQ5ZDY2NTYtMDkwZi00Y2IyLTlkZjYtOGI2YjA3ZTk2NmViIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yMVQwNzowNTowMC4wNDdaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA3OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA4OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250621_070500.047 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "f49d6656-090f-4cb2-9df6-8b6b07e966eb", "action": "gathered", "timestamp": "2025-06-21T07:05:00.047Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.048 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "f49d6656-090f-4cb2-9df6-8b6b07e966eb", "action": "gathered", "timestamp": "2025-06-21T07:05:00.047Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20250621_070500.048 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}} 20250621_070500.048 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}] 20250621_070500.048 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250621_070500.049 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "f49d6656-090f-4cb2-9df6-8b6b07e966eb", "action": "gathered", "timestamp": "2025-06-21T07:05:00.047Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.049 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250621_070500.049 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}} 20250621_070500.049 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiYWVkODliYjUtNjAyOC00NTM5LWFiNjgtN2IwNWVhYmY1MTlhIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTIxVDA3OjA1OjAwLjA0OVoiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA3OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yMVQwODowNDo1OS45OTRaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yMVQwODowNDo1OS45OTRaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250621_070500.050 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20250621_070500.050 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "aed89bb5-6028-4539-ab68-7b05eabf519a", "action": "updated", "timestamp": "2025-06-21T07:05:00.049Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.051 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250621_070500.051 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false} 20250621_070500.051 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true} 20250621_070500.051 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "policy_persistent": true} 20250621_070500.051 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true} 20250621_070500.051 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "policy_persistent": true} 20250621_070500.052 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true} 20250621_070500.052 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.067 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.068 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.068 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.068 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiOTQ1ZDJkMTYtNzFiZS00M2ZkLTgyNmUtMWQ3YzY1NWYyNzA4IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yMVQwNzowNTowMC4wNjhaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA3OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA4OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250621_070500.069 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "945d2d16-71be-43fd-826e-1d7c655f2708", "action": "gathered", "timestamp": "2025-06-21T07:05:00.068Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.069 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "945d2d16-71be-43fd-826e-1d7c655f2708", "action": "gathered", "timestamp": "2025-06-21T07:05:00.068Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20250621_070500.069 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}} 20250621_070500.070 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "945d2d16-71be-43fd-826e-1d7c655f2708", "action": "gathered", "timestamp": "2025-06-21T07:05:00.068Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.070 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20250621_070500.070 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.070 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20250621_070500.071 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "945d2d16-71be-43fd-826e-1d7c655f2708", "action": "gathered", "timestamp": "2025-06-21T07:05:00.068Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.071 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.085 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250621_070500.086 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.086 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250621_070500.086 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.086 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.087 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.087 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.093 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.093 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.094 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.094 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.094 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20250621_070500.094 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250621_070500.094 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.099 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.100 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.100 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.101 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiN2Q0MjQwYjAtZGE0ZS00YzFkLTgzYjUtMWYxOTY0MWZhYWMzIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yMVQwNzowNTowMC4xMDBaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA3OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA4OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250621_070500.101 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "7d4240b0-da4e-4c1d-83b5-1f19641faac3", "action": "gathered", "timestamp": "2025-06-21T07:05:00.100Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.101 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "7d4240b0-da4e-4c1d-83b5-1f19641faac3", "action": "gathered", "timestamp": "2025-06-21T07:05:00.100Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20250621_070500.101 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}} 20250621_070500.102 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.110 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 20250621_070500.110 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.113 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.113 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-maven-clm-master/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) 20250621_070500.113 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) 20250621_070500.114 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.118 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.119 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.119 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.119 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiYjhkYWFlNGMtNGViOC00M2JlLWI4OGEtNDZhMDM1MGM2OGVmIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yMVQwNzowNTowMC4xMTlaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA3OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA4OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250621_070500.120 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "b8daae4c-4eb8-43be-b88a-46a0350c68ef", "action": "gathered", "timestamp": "2025-06-21T07:05:00.119Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.120 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "b8daae4c-4eb8-43be-b88a-46a0350c68ef", "action": "gathered", "timestamp": "2025-06-21T07:05:00.119Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20250621_070500.120 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}} 20250621_070500.121 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "b8daae4c-4eb8-43be-b88a-46a0350c68ef", "action": "gathered", "timestamp": "2025-06-21T07:05:00.119Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.121 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20250621_070500.121 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250621_070500.122 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMWY0NmRjMmItMTAyOC00MzA5LWIxMTctZjI4Y2ZkZmNiYjJmIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTIxVDA3OjA1OjAwLjEyMVoiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20250621_070500.122 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20250621_070500.122 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "1f46dc2b-1028-4309-b117-f28cfdfcbb2f", "action": "updated", "timestamp": "2025-06-21T07:05:00.121Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.123 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "1f46dc2b-1028-4309-b117-f28cfdfcbb2f", "action": "updated", "timestamp": "2025-06-21T07:05:00.121Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.123 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20250621_070500.123 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250621_070500.124 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "1f46dc2b-1028-4309-b117-f28cfdfcbb2f", "action": "updated", "timestamp": "2025-06-21T07:05:00.121Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.124 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_both'] 20250621_070500.124 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "1f46dc2b-1028-4309-b117-f28cfdfcbb2f", "action": "updated", "timestamp": "2025-06-21T07:05:00.121Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}} 20250621_070500.124 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20250621_070500.124 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.142 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.143 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.143 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.144 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZTViNDVhNjgtZDM3Zi00YzdkLWFiOTAtMjdkMmZiZjk3ZThhIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yMVQwNzowNTowMC4xNDRaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA3OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA4OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250621_070500.144 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "e5b45a68-d37f-4c7d-ab90-27d2fbf97e8a", "action": "gathered", "timestamp": "2025-06-21T07:05:00.144Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.145 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "e5b45a68-d37f-4c7d-ab90-27d2fbf97e8a", "action": "gathered", "timestamp": "2025-06-21T07:05:00.144Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20250621_070500.145 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}} 20250621_070500.145 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "e5b45a68-d37f-4c7d-ab90-27d2fbf97e8a", "action": "gathered", "timestamp": "2025-06-21T07:05:00.144Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.145 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20250621_070500.146 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.146 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20250621_070500.146 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "e5b45a68-d37f-4c7d-ab90-27d2fbf97e8a", "action": "gathered", "timestamp": "2025-06-21T07:05:00.144Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.146 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.160 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.161 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.161 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.162 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNTVjZjA5NWQtNWJmZS00NDM1LTgyYmEtYWFjMzUyM2Y0ZjE2IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yMVQwNzowNTowMC4xNjJaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA3OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA4OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250621_070500.162 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "55cf095d-5bfe-4435-82ba-aac3523f4f16", "action": "gathered", "timestamp": "2025-06-21T07:05:00.162Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.162 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "55cf095d-5bfe-4435-82ba-aac3523f4f16", "action": "gathered", "timestamp": "2025-06-21T07:05:00.162Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20250621_070500.163 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}} 20250621_070500.163 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "policy_persistent": true} 20250621_070500.163 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true} 20250621_070500.163 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}, "policy_persistent": true} 20250621_070500.163 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true} 20250621_070500.163 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}, "policy_persistent": true} 20250621_070500.164 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true} 20250621_070500.164 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false} 20250621_070500.164 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false} 20250621_070500.164 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.173 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 20250621_070500.173 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.176 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250621_070500.177 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.177 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250621_070500.177 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.177 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.178 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.178 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.184 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.184 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250621_070500.185 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.185 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250621_070500.185 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.189 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.190 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.191 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.191 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiODg2MzIzYWMtNTc3Ny00YmNiLWE3ZDAtYjg1YTFjZjAyZmNmIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yMVQwNzowNTowMC4xOTFaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA3OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA4OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250621_070500.191 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "886323ac-5777-4bcb-a7d0-b85a1cf02fcf", "action": "gathered", "timestamp": "2025-06-21T07:05:00.191Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.192 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "886323ac-5777-4bcb-a7d0-b85a1cf02fcf", "action": "gathered", "timestamp": "2025-06-21T07:05:00.191Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20250621_070500.192 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}} 20250621_070500.192 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "886323ac-5777-4bcb-a7d0-b85a1cf02fcf", "action": "gathered", "timestamp": "2025-06-21T07:05:00.191Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.192 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20250621_070500.193 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250621_070500.193 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZTJlOGRlYjEtZTFiYi00YWNhLTgzZDctMmU1NzhjYTk3Nzg3IiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTIxVDA3OjA1OjAwLjE5M1oiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20250621_070500.193 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20250621_070500.194 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "e2e8deb1-e1bb-4aca-83d7-2e578ca97787", "action": "updated", "timestamp": "2025-06-21T07:05:00.193Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.194 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}] 20250621_070500.194 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250621_070500.195 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "e2e8deb1-e1bb-4aca-83d7-2e578ca97787", "action": "updated", "timestamp": "2025-06-21T07:05:00.193Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.195 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250621_070500.195 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}} 20250621_070500.195 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiYWNiMGRlZWEtNjlmYS00NDYzLWIxNzctYWMxM2M0ZmVjMzgzIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTIxVDA3OjA1OjAwLjE5NVoiLCAicG9saWNpZXNfY291bnQiOiAyfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yMVQwODowNDo1OS45OTRaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yMVQwODowNDo1OS45OTRaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}] 20250621_070500.196 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.196 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "acb0deea-69fa-4463-b177-ac13c4fec383", "action": "updated", "timestamp": "2025-06-21T07:05:00.195Z", "policies_count": 2}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.196 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250621_070500.197 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false} 20250621_070500.197 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true} 20250621_070500.197 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.216 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.217 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.217 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.217 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNmFmMGI5MDgtN2Y0Ny00M2ZlLTkwZTUtMWNiYWYwYTRmOWNlIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yMVQwNzowNTowMC4yMTdaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA3OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA4OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250621_070500.218 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "6af0b908-7f47-43fe-90e5-1cbaf0a4f9ce", "action": "gathered", "timestamp": "2025-06-21T07:05:00.217Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.218 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "6af0b908-7f47-43fe-90e5-1cbaf0a4f9ce", "action": "gathered", "timestamp": "2025-06-21T07:05:00.217Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20250621_070500.218 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}} 20250621_070500.218 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}] 20250621_070500.219 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250621_070500.219 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "6af0b908-7f47-43fe-90e5-1cbaf0a4f9ce", "action": "gathered", "timestamp": "2025-06-21T07:05:00.217Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.219 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250621_070500.219 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}} 20250621_070500.220 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMmUwZjg4YTItYmJlNC00YmI5LWJhMTQtNDE3YzQ3NTRkOGU1IiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTIxVDA3OjA1OjAwLjIyMFoiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA3OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yMVQwODowNDo1OS45OTRaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yMVQwODowNDo1OS45OTRaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250621_070500.220 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20250621_070500.221 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "2e0f88a2-bbe4-4bb9-ba14-417c4754d8e5", "action": "updated", "timestamp": "2025-06-21T07:05:00.220Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.221 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250621_070500.221 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false} 20250621_070500.221 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true} 20250621_070500.221 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "policy_persistent": true} 20250621_070500.222 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true} 20250621_070500.222 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "policy_persistent": true} 20250621_070500.222 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true} 20250621_070500.222 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.236 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.237 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.237 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.237 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.237 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20250621_070500.237 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250621_070500.237 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.241 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.242 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-maven-clm-master/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) 20250621_070500.242 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) 20250621_070500.242 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.247 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250621_070500.247 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.247 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250621_070500.247 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.248 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.248 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.248 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.256 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.257 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.257 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.257 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMmY0ZTVhNjUtMDc5MS00NmZhLWEwZjItNjExMzc3NmVjOTYyIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yMVQwNzowNTowMC4yNTdaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA3OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA4OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250621_070500.258 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "2f4e5a65-0791-46fa-a0f2-6113776ec962", "action": "gathered", "timestamp": "2025-06-21T07:05:00.257Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.258 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "2f4e5a65-0791-46fa-a0f2-6113776ec962", "action": "gathered", "timestamp": "2025-06-21T07:05:00.257Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20250621_070500.258 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}} 20250621_070500.258 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": ["damaged config"]}, "policy_persistent": true}] 20250621_070500.258 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250621_070500.259 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "2f4e5a65-0791-46fa-a0f2-6113776ec962", "action": "gathered", "timestamp": "2025-06-21T07:05:00.257Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.259 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": ["damaged config"]}, "policy_persistent": true}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"none": null, "unexpected": "foo"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250621_070500.259 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"none": null, "unexpected": "foo"}}, "policy_persistent": false}} 20250621_070500.260 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMDhjYTQ1NjUtOThlOC00NWU5LWFkMGItOTM0NmQ3ZmY2M2VkIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTIxVDA3OjA1OjAwLjI2MFoiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA3OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsibm9uZSI6IG51bGwsICJ1bmV4cGVjdGVkIjogImZvbyJ9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250621_070500.260 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20250621_070500.261 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": ["damaged config"]}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"none": null, "unexpected": "foo"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "08ca4565-98e8-45e9-ad0b-9346d7ff63ed", "action": "updated", "timestamp": "2025-06-21T07:05:00.260Z", "policies_count": 4}, "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.261 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250621_070500.261 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"none": null, "unexpected": "foo"}}, "policy_persistent": false} 20250621_070500.261 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": ["damaged config"]}, "policy_persistent": true} 20250621_070500.261 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "policy_persistent": true} 20250621_070500.261 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true} 20250621_070500.262 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}, "policy_persistent": true} 20250621_070500.262 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true} 20250621_070500.262 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.277 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250621_070500.277 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.277 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.277 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.278 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.278 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.286 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.287 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.287 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.287 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiYjk3ZmE4YjEtNjU0Zi00ZmQ2LTgyMzItNzUwNDEzNjZjN2U4IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yMVQwNzowNTowMC4yODdaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA3OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA4OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250621_070500.288 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "b97fa8b1-654f-4fd6-8232-75041366c7e8", "action": "gathered", "timestamp": "2025-06-21T07:05:00.287Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.288 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "b97fa8b1-654f-4fd6-8232-75041366c7e8", "action": "gathered", "timestamp": "2025-06-21T07:05:00.287Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20250621_070500.288 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}} 20250621_070500.288 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "b97fa8b1-654f-4fd6-8232-75041366c7e8", "action": "gathered", "timestamp": "2025-06-21T07:05:00.287Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.289 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20250621_070500.289 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250621_070500.289 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMzM1MzlhYjAtZmQ3Ni00MTMzLThkYWItMTZkZDI2ZTBmZDJjIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTIxVDA3OjA1OjAwLjI4OVoiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20250621_070500.290 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20250621_070500.290 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "33539ab0-fd76-4133-8dab-16dd26e0fd2c", "action": "updated", "timestamp": "2025-06-21T07:05:00.289Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.290 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_both'] 20250621_070500.290 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "33539ab0-fd76-4133-8dab-16dd26e0fd2c", "action": "updated", "timestamp": "2025-06-21T07:05:00.289Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}} 20250621_070500.291 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20250621_070500.291 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.305 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.306 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.306 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.306 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNTNlM2Q5NmEtNWQ4NC00ZDFlLTkzNWQtYmI2YTgyMWQ2ZGZhIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yMVQwNzowNTowMC4zMDZaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA3OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA4OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250621_070500.307 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "53e3d96a-5d84-4d1e-935d-bb6a821d6dfa", "action": "gathered", "timestamp": "2025-06-21T07:05:00.306Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.307 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "53e3d96a-5d84-4d1e-935d-bb6a821d6dfa", "action": "gathered", "timestamp": "2025-06-21T07:05:00.306Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20250621_070500.307 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}} 20250621_070500.307 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "53e3d96a-5d84-4d1e-935d-bb6a821d6dfa", "action": "gathered", "timestamp": "2025-06-21T07:05:00.306Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.308 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20250621_070500.308 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250621_070500.308 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiYThlNGI2MTUtYTJlNC00NGE5LWExMWItNzA5YzRiOGJjNmQ4IiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTIxVDA3OjA1OjAwLjMwOFoiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20250621_070500.309 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20250621_070500.309 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "a8e4b615-a2e4-44a9-a11b-709c4b8bc6d8", "action": "updated", "timestamp": "2025-06-21T07:05:00.308Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.309 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250621_070500.309 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}] 20250621_070500.310 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250621_070500.310 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "a8e4b615-a2e4-44a9-a11b-709c4b8bc6d8", "action": "updated", "timestamp": "2025-06-21T07:05:00.308Z", "policies_count": 0}, "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.310 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250621_070500.310 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}} 20250621_070500.311 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiOTEwMDM5M2ItODQ5Ni00NzkwLTlkZjMtNDIyMjYwNjM0NTczIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTIxVDA3OjA1OjAwLjMxMVoiLCAicG9saWNpZXNfY291bnQiOiAyfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yMVQwODowNDo1OS45OTRaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yMVQwODowNDo1OS45OTRaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn19"}}] 20250621_070500.311 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.312 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "9100393b-8496-4790-9df3-422260634573", "action": "updated", "timestamp": "2025-06-21T07:05:00.311Z", "policies_count": 2}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.312 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250621_070500.312 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": false} 20250621_070500.312 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}, "policy_persistent": true} 20250621_070500.312 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.331 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250621_070500.331 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.332 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250621_070500.332 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.332 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.332 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.332 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250621_070500.340 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.341 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250621_070500.341 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.341 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNzgwYTQ1ZTAtZmNhNS00MGJhLTg0NTgtMmYxNjExNzJjZTQ4IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yMVQwNzowNTowMC4zNDFaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA3OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDA4OjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTIxVDEwOjA0OjU5Ljk5NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250621_070500.342 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "780a45e0-fca5-40ba-8458-2f161172ce48", "action": "gathered", "timestamp": "2025-06-21T07:05:00.341Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.342 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "780a45e0-fca5-40ba-8458-2f161172ce48", "action": "gathered", "timestamp": "2025-06-21T07:05:00.341Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20250621_070500.342 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}} 20250621_070500.342 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.343 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}] 20250621_070500.343 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "780a45e0-fca5-40ba-8458-2f161172ce48", "action": "gathered", "timestamp": "2025-06-21T07:05:00.341Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.344 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON"}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}], added_policies: {"<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}}, "dcae_policies_b_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON"}}}}}, removed_policies: ["<<>>"] 20250621_070500.344 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON"}}} 20250621_070500.344 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON"}}], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}], "duplicate": []} 20250621_070500.344 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id", "type": "node-instance", "task_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}, "node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}, "node": {"name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T09:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2"}}}}}}, "node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}}}}}}, "node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}}}}}}, "node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}}}}, "node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "property": null, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "config": {"policy_updated_ts": "2025-06-21T11:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4"}}}}}}, "node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "780a45e0-fca5-40ba-8458-2f161172ce48", "action": "gathered", "timestamp": "2025-06-21T07:05:00.341Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "operation": {"name": null, "max_retries": null, "retry_number": null}, "plugin": {"name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}} 20250621_070500.345 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"update_id": "780a45e0-fca5-40ba-8458-2f161172ce48", "action": "gathered", "timestamp": "2025-06-21T07:05:00.341Z", "policies_count": 4}, "application_config": {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20250621_070500.345 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T07:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T08:04:59.994Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "property": null, "config": {"policy_updated_ts": "2025-06-21T10:04:59.994Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}, "policy_persistent": true}} 20250621_070500.345 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"weather": "snow", "db_port": "123", "policy_updated_ts": "2025-06-21T07:04:59.994Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20250621_070500.345 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear